<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Success Page</title>
</head>
<body>
	<table>
		<caption>User Details</caption>
		<tr>
			<td>User Name: </td>
			<td><c:out value="${user.name}"></c:out></td>
		</tr>
		<tr>
			<td>Gender: </td>
			<td><c:out value="${user.gender}"></c:out></td>
		</tr>
		<tr>
			<td>Country: </td>
			<td><c:out value="${user.country}"></c:out></td>
		</tr>
		<tr>
			<td>About You: </td>
			<td><c:out value="${user.aboutYou}"></c:out></td>
		</tr>
		<tr>
			<td>Community: </td>
			<td>
				<c:forEach items="${user.communityList}" var="community">
					<c:out value="${community}"></c:out>
				</c:forEach>
			</td>
		</tr>
		<tr>
			<td>Mailing List: </td>
			<td><c:out value="${user.mailingList}"></c:out></td>
		</tr>
	</table>
</body>
</html>